import { View } from '@tarojs/components'
import Taro from '@tarojs/taro'
import './app.css'
import { Provider } from 'react-redux';
import { store } from './store';

// 全局禁用页面切换动画
Taro.setPageStyle({
  animation: {
    duration: 0,
    delay: 0
  }
})

export default function App({ children }) {
  return (
    <View className='app-container'>
      <Provider store={store}>
        {children}
      </Provider>
    </View>
  )
}
